package pers.lmd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import pers.lmd.domain.entity.Note;
import pers.lmd.domain.vo.NoteStudentVO;
import pers.lmd.domain.vo.NoteTeacherVO;

import java.time.LocalDateTime;

/**
 * @author 10149
 * @description 针对表【note】的数据库操作Service
 * @createDate 2023-04-24 20:35:51
 */
public interface INoteService extends IService<Note> {
    void addNote(LocalDateTime leaveTime, LocalDateTime backTime, String travel, String reason);

    Page<NoteStudentVO> getNoteStudentByPage(int pageNo, int pageSize);
    Page<NoteTeacherVO> getNoteTeacherByPage(int pageNo, int pageSize);
    void updateNote(Long id,Integer applyStatus);
}
